package net.lab1024.sa.admin.module.business.erp.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * 审批模板主表 实体类
 *
 * @Author AKITA
 * @Date 2025-04-23 09:53:21
 * @Copyright AKITA
 */

@Data
@TableName("apptemord")
public class ApptemordEntity {
    @TableId(type = IdType.AUTO)
    private Long docEntry;
    private Integer objId;
    private String objName;
    private String docStatus;
    private Boolean approved;
    private String docName;
    private String remark;
    private String tabId;
    private String tabName;
    private Integer version;
    private Integer repeats;
    @TableField(fill = FieldFill.INSERT)
    private Long createById;
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateById;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private List<ApptemordaEntity> lista = new ArrayList<>();

}
